package com.blank.shop.dubbo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * <br/>Date 2021/9/1
 * <br/>Time 18:04:54
 *
 * @author _blank
 */
@SpringBootApplication
@EnableCaching
@EnableDiscoveryClient
@EnableFeignClients
@EnableScheduling
public class ShopAlibabaDubboConsumerApplication {

    /**
     * 尽量做到配置文件中去
     */
    public static final String SERVER_PROVIDER_NAME = "blank-shop-alibaba-dubbo-provider";

    public static void main(String[] args) {
        SpringApplication.run(ShopAlibabaDubboConsumerApplication.class, args);
    }

}
